<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学员信息管理系统-登录</title>

    <link rel="stylesheet" href="/static/css/login.css">
   <%--<link rel="stylesheet" href="/static/css/re2.css" type="text/css">--%>
</head>
<body>
    <div class="main">
        <div class="wrap">

            <div class="title">
                <span>学员信息管理系统-登录</span>
            </div>

            <div class="content">
                <form action="<%=request.getContextPath()%>/login/check" id="login-form" method="post">
                    <div class="row">
                        <div class="u-logo">
                            <div class="u-logo-img1"></div>
                        </div>

                        <input type="text" name="userName" id="userName" autocomplete="off" placeholder="用户名" value="${userName}"/>

                        <div class="u-success u-clear hide"></div>
                    </div>

                    <div class="row">
                        <div class="u-logo">
                            <div class="u-logo-img2"></div>
                        </div>
                        <input type="password" name="password" placeholder="密码" value="${password}"/>
                        <div class="u-success u-clear hide"></div>
                    </div>

                    <div class="clearfix imgYzm">
                        <input type="text"  class="yzm" name="imgYzm" id="imgYzm" autocomplete="off" placeholder="验证码" style="width: 125px">
                        <img class="chImage" src="/kaptcha.jpg" alt="验证码">
                        <%--<em style="font-size: 12px">看不清？<a href="javascript:" class="chImage">换一张</a></em>--%>
                    </div>


                    <div class="rowCb">
                        <div id="cb1">
                            <input type="checkbox" name="checkbox" class="checkbox">&nbsp;<span>记住密码</span>
                        </div>
                        <div id="cb2">
                            <input type="checkbox"  name="autoLogin" class="checkbox" value="自动登录">&nbsp;<span>自动登录</span>
                        </div>
                    </div>

                    <div >
                      <c:choose>
                        <c:when test="${errMsg == null}">
                           <div class="info hide">
                        </c:when>
                        <c:otherwise>
                            <div class="info">
                        </c:otherwise>
                      </c:choose>
                                <div class="u-info"></div>
                                <div class="u-info-img"></div>
                            </div>
                            <div class="msg" id="msg">${errMsg}</div>
                      </div>


                    <div class="btn">
                        <button id="login-btn"  type="submit">登录</button>
                    </div>

                    <div class="row">
                        <a  href="">忘记密码?</a>
                        |
                        <a  href="/registe">注册账号</a>
                    </div>
                </form>
            </div>
        </div>
    </div>


<div class="footer">
    <p align="center">友情链接：云和数据|集团官网|云和教育|郑州中心|云和教育西安中心|云和教育深圳中心</p>
    <p>Copyright © 2013-2017 云和数据信息技术有限公司</p>
</div>



 <script src="/static/js/plugins/jquery.js"></script>
 <script src="/static/js/login2.js"></script>


</body>
</html>